﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using STS.Schema.Collections;
using STS.Interfaces;

namespace STS.Schema.Interfaces
{
    public interface IDatabase : ISqlObject
    {
        //int ActiveConnections { get; }
        string Owner { get; }
        //SqlTableList Tables { get; }
        //SqlViewList Views { get; }
        string UserName { get; }

        ISqlObjectCollection TableList { get; }
        ISqlObjectCollection ViewList { get; }
        ISqlObjectCollection StoredProcedureList { get; }
        ISqlObjectCollection TableFunctionList { get; }
        ISqlObjectCollection ScalarFunctionList { get; }

    }
}
